package com.chp.service;

import com.chp.common.util.PageResult;
import com.chp.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chp.vo.ProductVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chp
 * @since 2025-01-13
 */
public interface IProductService extends IService<Product> {
    PageResult<Product> findByPage(Integer page, Integer pageSize);

    PageResult<Product> search(Integer page, Integer pageSize, ProductVO vo);

    boolean add(Product product);
}
